using System;
using System.Collections.Generic;
using System.Text;

namespace Pegasus.ServiceModel
{
	public partial class PeerNetworkManager
	{
		/// <summary>
		/// Used internal to hold information about another node in the mesh.
		/// </summary>
		private class PeerNodeInfo
		{
			/// <summary>
			/// The name of the remote node.
			/// </summary>
			public string Name;

			/// <summary>
			/// The other node's NodeInfo structure.
			/// </summary>
			public NodeData Node;

			/// <summary>
			/// The private sender interface to talk to that node.
			/// </summary>
			public IPrivateSender PrivateSender;

			/// <summary>
			/// Records the last date and time that a message was received from this node.
			/// </summary>
			public DateTime LastMessageReceived;
		}
	}
}
